{% extends "Pyi/home.html"%}
{% load staticfiles %}
{% block content %}
	<div class="row">
		<div class="col-md-6">
		{% load static  %}
		{% get_media_prefix as MEDIA %}
		<img data-src="holder.js/200x200" class="img-thumbnail" alt="200x200" src='{{ image }}' style="width: 200px; height: 200px;">
			<blockquote>
				<h2>{{ question.question_type }}</h2>
				<p class="text-danger"> 
					{{ question.pub_time }}
				</p>
				<p>{{question.question}}</p>
			</blockquote>
			<form class="form-success" method="post" role="form">
			{% csrf_token %}
				{% for answer in answers %}
					<button class="btn btn-success btn-lg" type="submit" name="select" value="{{ answer.id }}">{{ answer.number }}</button>
					<h4>{{ answer.answer }}</h4>
				{% endfor %}
			</form>
		</div>
	</div>
{% endblock  %}